from django.conf.urls.defaults import *

# Uncomment the next line to enable the admin:
#admin.autodiscover()

urlpatterns = patterns('',
    (r'^$',                             'sample.views.index'),
    (r'^post/$',                        'sample.views.post_index'),
    (r'^post/new$',                     'sample.views.post_create'),
    (r'^post/edit/(?P<key>\S+)/$',      'sample.views.post_edit'),
    (r'^post/delete/(?P<key>\S+)/$',    'sample.views.post_delete'),
)
